package com.buka.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.buka.pojo.Menu;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【sys_menu(菜单权限表)】的数据库操作Mapper
 * @createDate 2024-05-28 16:35:11
 * @Entity com.buka.pojo.Menu
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List<String> selectPermsByUserId(Long userId);

    List<Menu> selectAllRouterMenu();

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

}




